﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WHControlLib.Forms;

namespace WHUIdemo.Forms
{
    public partial class testForm : WHForm
    {
        public testForm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("OK");
        }

        private void testForm_Load(object sender, EventArgs e)
        {
            whLineChart1.ClearAllUserValues();
            whLineChart1.AddUserValue(0.1f, 0.55f, "55%");

            whLineChart1.AddUserValue(0.25f, 0.55f, "55%");
            whLineChart1.AddUserValue(0.51f, 0.35f, "35%");
            whLineChart1.AddUserValue(0.75f, 0.45f, "45%");
            whLineChart1.AddUserValue(0.81f, 0.235f, "23.5%");
            whLineChart1.AddUserValue(0.88f, 0.65f, "65%");
            whLineChart1.AddUserValue(0.95f, 0.83f, "83%");
            whLineChart2.ClearAllUserValues();
            whLineChart2.AddUserValue(0.13f, 0.35f, "35%");

            whLineChart2.AddUserValue(0.22f, 0.75f, "75%");
            whLineChart2.AddUserValue(0.51f, 0.35f, "35%");
            whLineChart2.AddUserValue(0.75f, 0.45f, "45%");
            whLineChart2.AddUserValue(0.81f, 0.25f, "25%");
            whLineChart2.AddUserValue(0.98f, 0.65f, "65%");


        }

        private void whSwithch1_Load(object sender, EventArgs e)
        {

        }

        private void whLable10_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click_1(object sender, EventArgs e)
        {
       
      
        }

        private void testForm_Activated(object sender, EventArgs e)
        {
            whTextBox1.Focus();
        }
    }
}
